#include <TooN/GR_SVD.h>
#include <iomanip>

using namespace TooN;
using namespace std;


int main()
{
	Matrix<6,4> m=Data(7.1259081599432528e-01, 4.2097952268306421e-01, 8.3341077322495927e-01, 9.9124489489770040e-01, 3.1784660216412347e-01, 4.1949631857048914e-01, 4.7727559718070028e-01, 7.9377920184015760e-01, 7.6661245683649937e-01, 2.1747993041326713e-01, 1.8637696266582987e-01, 3.7701050694140509e-01, 6.0122381327712404e-01, 9.9548617645170079e-01, 5.0222598175122368e-01, 2.2963368033181392e-01, 5.6726962865418729e-01, 1.7610468108004690e-01, 5.5242462794417013e-01, 4.9506236661284891e-01, 8.8282275746795025e-01, 3.7981396117759264e-01, 3.3036735284418856e-01, 9.2338197268264907e-02);

	GR_SVD<6,4> a(m);
	cout << setprecision(16);
	cout << "Static: \n";
	cout << a.get_pinv() <<endl;
}
